﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assessment.Management.SharedComponent.Constants;

namespace Assessment.Management.SharedComponent.Params
{
    public class BaseParam
    {
        private ControlInfo _controlInfo;
        public ControlInfo ControlInfo
        {
            get
            {
                if (_controlInfo == null)
                    _controlInfo = new ControlInfo();
                return _controlInfo;
            }
            set { _controlInfo = value; }
        }

        public BaseParam(BusinessType businessType, string functionType)
        {
            ControlInfo.BusinessType = businessType;
            ControlInfo.FunctionType = functionType;
        }

        public BaseParam()
        {
        }
    }
}
